PROGRAMS=ball_game
GAME_OBJ=main.o

all:$(PROGRAMS)

ball_game:$(GAME_OBJ)
	$(CC) -o $@ $^ -lcurses

.c.o:
	$(CC) -c -Wall -g -o $@ $<

clean:
	-rm -f *o $(PROGRAMS)
